package com.ihr360.payroll.service.alps;

import com.ihr360.common.DateRange;
import com.ihr360.payroll.model.dto.reference.ReferenceService;

import java.util.Collection;
import java.util.Map;

/**
 * 根据数据库中的服务设定，更新服务的信息
 */
public interface AlpsSyncService {
    boolean syncApplications();

    /**
     *
     * @param refService 服务提供者信息
     * @param staffIds 员工id
     * @param payrollPeriodRange 薪资周期
     * @param attendancePeriodRange 考勤周期
     * @return
     */
    Map<String, Map<String,Object>> getDataByService(String companyId,ReferenceService refService, Collection<String> staffIds, DateRange payrollPeriodRange, DateRange attendancePeriodRange);
}